home *** CD-ROM | disk | FTP | other *** search
- Path: mayne.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: C++ to C conversion program for Unix machines?
- Date: 29 Mar 1996 10:18:47 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4jh9i7INNq2g@mayne.ugrad.cs.ubc.ca>
- References: <xnhg2av1lz3.fsf@vivaldi.csc.ti.com> <315b3927.235472331@usenet.interramp.com>
- NNTP-Posting-Host: mayne.ugrad.cs.ubc.ca
-
- In article <315b3927.235472331@usenet.interramp.com>,
- Joe Peterson <tandemino@interramp.com> wrote:
- >On 26 Mar 1996 17:19:28 -0600, yeshwant@vivaldi.csc.ti.com (Yeshwant
- >Muthusamy) mumbled:
- >
- >>
- >>Does anybody know of a program (running under UNIX) that takes in C++ code
- >>and spits out C? Any pointers appreciated.
- >
- >The only such utility I know of is AT&T's 'cfront'. Before the days
- >of native C++ compilers, 'cfront' was built to convert C++ code to be
- >fed into a C compiler.
- >
- >Where to get a version, I don't know. AFAIK, you have to get a
- >license for it from AT&T, but maybe that's just if you're going to be
- >building a version for a particular h/w-OS platform.
-
- It's used by the HP-UX CC compiler. If you just want to do a one-time
- translation rather than requiring cfront on a regular basis, rent some time
- share on an HP box (or some other system that relies on cfront).
-
- --
-
-